<nav class="breadcrumb" id="pathContainer">
	<i class="Hui-iconfont Hui-iconfont-weizhi"></i>
	<span>您的位置：</span>
	<span>栏目配置</span>
	<span class="c-999 en">&gt;</span>
	<span>栏目类型</span>
	<span class="c-999 en">&gt;</span>
	<span class="c-primary">新增</span>
    <input class="btn size-S radius f-r mr-30 mt-5" id="goBack" type="button" value="返回">
</nav>
<div class="Hui-article mt-10" id="columnTypeEdit">
	<form id="columnTypeEditForm">
		<table class="table" id="columnTable"></table>
	</form>
</div>
<script id="columnTypeEditMsg" type="text/x-handlebars-template">
	\{{#if id}}<input type="hidden" name="id" value="\{{id}}">\{{/if}}
	<tr>
		<td class="eva-s text-r table-bgc-f5">
			<label for="name">模板类型名称：</label>
		</td>
		<td>
			<input type="text" class="input-text input-col-3" id="name" name="name" value="\{{name}}" placeholder="请输入模板类型名称" autocomplete="off">
		</td>
	</tr>
	<tr>
		<td class="eva-s text-r table-bgc-f5">
			<label for="templateType">模板类型类别：</label>
		</td>
		<td>
			<span class="select-box input-col-3">
				<select class="select" size="1" name="templateType" id="templateType">
					\{{#mccmsSelect templateType}}
						<option value="mostlist">模块列表模型</option>
						<option value="list">列表模型(list)</option>
						<option value="content">单页模型(content)</option>
						<option value="product">产品模型(product)</option>
						<option value="other">定制模型(other)</option>
					\{{/mccmsSelect}}
				</select>
			</span>
		</td>
	</tr>
	<tr>
		<td class="eva-s text-r table-bgc-f5">
			<label for="templateUrl">URL生成模板：</label>
		</td>
		<td>
			<input type="text" class="input-text input-col-3" id="templateUrl" name="templateUrl" value="\{{templateUrl}}" placeholder="请输入URL生成模板" autocomplete="off">
		</td>
	</tr>
	<tr class="other \{{#mccmsShowIfEqual templateType 'other'}}\{{else}}hidden\{{/mccmsShowIfEqual}}">
		<td class="eva-s text-r table-bgc-f5">
			<label for="featuresUrl">功能URL：</label>
		</td>
		<td>
			<input type="text" \{{#mccmsShowIfEqual templateType 'other'}}\{{else}}disabled\{{/mccmsShowIfEqual}}  class="input-text input-col-3" id="featuresUrl" name="featuresUrl" value="\{{featuresUrl}}" placeholder="请输入功能URL" autocomplete="off">
		</td>
	</tr>
	<!-- <tr>
		<td class="eva-s text-r table-bgc-f5">
			<label for="state">状态：</label>
		</td>
		<td>
			<span class="select-box input-col-3">
				<select class="select" size="1" name="state" id="state">
					\{{#mccmsSelect state}}
						<option value="1">已启动</option>
						<option value="0">已停用</option>
					\{{/mccmsSelect}}
				</select>
			</span>
		</td>
	</tr> -->
	<tr>
		<td class="eva-s text-r table-bgc-f5 va-t">栏目介绍：</td>
		<td>
			<textarea id="intro" name="intro" type="text/plain" class="textarea">\{{intro}}</textarea>
		</td>
	</tr>
	<tr>
		<td class="eva-s table-bgc-f5"></td>
		<td class="text-l">
			<input class="btn btn-primary radius btn_sub" type="button" value="提交">
		</td>
	</tr>
</script>
<script>
	new columnTypeEdit();
</script>